Optimal. Leaf size=25 \[ \frac {a x^{m+1}}{m+1}+\frac {b x^{m+4}}{m+4} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.01, antiderivative size = 25, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 1, integrand size = 11, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.091, Rules used = {14} \[ \frac {a x^{m+1}}{m+1}+\frac {b x^{m+4}}{m+4} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 14
Rubi steps
\begin {align*} \int x^m \left (a+b x^3\right ) \, dx &=\int \left (a x^m+b x^{3+m}\right ) \, dx\\ &=\frac {a x^{1+m}}{1+m}+\frac {b x^{4+m}}{4+m}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 25, normalized size = 1.00 \[ \frac {a x^{m+1}}{m+1}+\frac {b x^{m+4}}{m+4} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.57, size = 33, normalized size = 1.32 \[ \frac {{\left ({\left (b m + b\right )} x^{4} + {\left (a m + 4 \, a\right )} x\right )} x^{m}}{m^{2} + 5 \, m + 4} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.16, size = 43, normalized size = 1.72 \[ \frac {b m x^{4} x^{m} + b x^{4} x^{m} + a m x x^{m} + 4 \, a x x^{m}}{m^{2} + 5 \, m + 4} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.00, size = 35, normalized size = 1.40 \[ \frac {\left (b m \,x^{3}+b \,x^{3}+a m +4 a \right ) x^{m +1}}{\left (m +4\right ) \left (m +1\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 1.30, size = 25, normalized size = 1.00 \[ \frac {b x^{m + 4}}{m + 4} + \frac {a x^{m + 1}}{m + 1} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 1.21, size = 34, normalized size = 1.36 \[ \frac {x^{m+1}\,\left (4\,a+a\,m+b\,x^3+b\,m\,x^3\right )}{m^2+5\,m+4} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 1.09, size = 94, normalized size = 3.76 \[ \begin {cases} - \frac {a}{3 x^{3}} + b \log {\relax (x )} & \text {for}\: m = -4 \\a \log {\relax (x )} + \frac {b x^{3}}{3} & \text {for}\: m = -1 \\\frac {a m x x^{m}}{m^{2} + 5 m + 4} + \frac {4 a x x^{m}}{m^{2} + 5 m + 4} + \frac {b m x^{4} x^{m}}{m^{2} + 5 m + 4} + \frac {b x^{4} x^{m}}{m^{2} + 5 m + 4} & \text {otherwise} \end {cases} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________